package com.sixth.controller;

import com.sixth.service.InventoryGoodsService;
import com.sixth.service.InventoryService;
import com.sixth.util.TableLayUi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: project01
 * @description:
 * @author: 高振杨
 * @create: 2021-12-23 15:17
 **/
@RestController
@RequestMapping("/inventorygoods")
public class InventoryGoodsController {

    @Autowired
    private InventoryGoodsService service;

    //获取盘点审核商品
    @RequestMapping("/getInventoryGoods")
    public TableLayUi getInventoryGoods(int page, int limit,Integer invenid) {
        TableLayUi goods = service.getInventoryGoods(page, limit, invenid);
        return goods;
    }
}
